package com.hs.teachsystem.enumConfig;

/**
 * Created by MaiBenBen on 2017/7/15.
 */
public enum RoleName {
    SUPER{
        public String getDesc(){
            return "超级管理员";
        }
    },
    MANAGER{
        public String getDesc(){
            return "普通管理员";
        }
    },
    TEACHER{
        public String getDesc(){
            return "教师";
        }
    },
    STUDENT{
        public String getDesc(){
            return "学生";
        }
    }
    ;
    public abstract String getDesc();
    public String getName(){return  this.name();}
}
